<?php
namespace common\core\base;

use yii\web\Controller;

/**
 * Class BaseBackendController
 *
 * @author Xuegui Yuan <yuanxuegui@163.com>
 */
class BaseBackendController extends Controller
{

    public function render($view, $params = [])
    {
        if (getGetValue('render_partial', false) == true) {
            return $this->renderPartial($view, $params);
        } else {
            return parent::render($view, $params);
        }
    }
}